package com.easy.frame.servers.sys.mapping;

import com.easy.frame.servers.sys.dto.SysMenusCustomDTO;
import com.easy.frame.servers.sys.entity.SysMenu;
import com.easy.frame.servers.sys.entity.SysMenusCustom;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @Author msp
 * @Date 2021/5/8
 */
@Mapper
public interface SysMenuCustomMapping {

    SysMenuCustomMapping INSTANCE = Mappers.getMapper(SysMenuCustomMapping.class);

    SysMenusCustom DTO2PO(SysMenusCustomDTO dto);

    SysMenu custom2Menu(SysMenusCustom custom);
}
